package controller.data.searchRevision;

import java.util.List;

import controller.data.ReadDocumentationRevision;

public class SearchRevisionResponse {

	private List<ReadDocumentationRevision> revisions;
	private long defaultRevision;
	private String category;

	public SearchRevisionResponse(List<ReadDocumentationRevision> revisions,
			long defaultRevision, String category) {
		this.revisions = revisions;
		this.defaultRevision = defaultRevision;
		this.setCategory(category);
	}

	public SearchRevisionResponse() {
	}

	public List<ReadDocumentationRevision> getRevisions() {
		return revisions;
	}

	public void setRevisions(List<ReadDocumentationRevision> revisions) {
		this.revisions = revisions;
	}

	public long getDefaultRevision() {
		return defaultRevision;
	}

	public void setDefaultRevision(long defaultRevision) {
		this.defaultRevision = defaultRevision;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public String getCategory() {
		return category;
	}
}
